<%= link_to 'Back', products_path %>

<div class="product-show">
    <p>
      <b>Name:</b>
      <%= @product.name %>
    </p>

    <p>
      <b>Description:</b>
      <%= @product.description %>
    </p>

    <p>
      <b>Code:</b>
      <%= @product.code %>
    </p>

    <p>
      <b>Size:</b>
      <%= @product.size %>
    </p>

    <p>
      <b>Image:</b>
      <%= @product.image %>
    </p>
    
    <p>
      <b>Manufacturer:</b>
      <%= @product.manufacturer %>
    </p>

    <p>
      <b>Supplier:</b>
      <%= @product.supplier %>
    </p>

    <p>
      <b>Price:</b>
      <%= @product.price %>
    </p>

    <p>
      <b>Sale Price:</b>
      <%= @product.sale_price %>
    </p>

    <p>
      <b>Actual Price:</b>
      <%= @product.actual_price %>
    </p>

    <p>
      <b>Created at:</b>
      <%= @product.created_at %>
    </p>

    <p>
      <b>Updated at:</b>
      <%= @product.updated_at %>
    </p>


    <%= link_to 'Edit', edit_product_path(@product) %> |
    <%= link_to 'Back', products_path %>
</div>